<@_logTaskList taskId=queryTaskId pageIndex=pageNum count=numPerPage>
<form id="pagerForm" method="post">
	<#include "../include_page/queryParamters.html"/>
</form>
<div class="pageHeader">
	<form onsubmit="return navTabSearch(this);" method="post">
		<div class="searchBar">
			<ul class="searchContent">
			<#if queryTaskId?has_content>
				<li>
					<label>任务：</label>
					<@_systemTask id=queryTaskId>${object.name}</@_systemTask>
				</li>
			</#if>
			</ul>
			<#include "../include_page/searchBar.html"/>
		</div>
	</form>
</div>
<div class="pageContent">
	<div class="panelBar">
		<ul class="toolBar">
			<li><a class="delete" href="logTask/delete.do" title="<@t.m 'button.delete.batch.ask'/>"  target="selectedTodo" rel="ids"><span><@t.m 'button.delete'/></span></a></li>
		</ul>
	</div>
	<table class="table" width="100%" layoutH="119">
		<thead>
			<tr>
				<th width="22"><input type="checkbox" group="ids" class="checkboxCtrl"></th>
				<th>任务</th>
				<th>开始时间</th>
				<th>结束时间</th>
				<th>结果</th>
			</tr>
		</thead>
		<tbody>
			<#include "../include_page/meger.html"/>
			<#list page.list as a>
				<@meger 'taskIds' a.taskId!/>
			</#list>
			<@_systemTask ids=taskIds!><#assign taskMap=map/></@_systemTask>
			<#list page.list as a>
			<tr target="sid" rel="${a.id}">
				<td><input name="ids" value="${a.id}" type="checkbox"></td>
				<td><a href="logTask/list.html?queryTaskId=${a.taskId}" target="navTab" rel="logTask">${(taskMap[a.taskId?string].name)!}</a></td>
				<td>${a.begintime!}</td>
				<td>${a.endtime!}</td>
				<td>${a.result!}</td>
			</tr>
			</#list>
		</tbody>
	</table>
	<#include "../include_page/page.html"/>
</div>
</@_logTaskList>